matches

pure function matches(regex: text): boolean

Returns true if this text matches the given regular expression. Uses java.util.regex.Pattern internally.

Since

0.6.0

Parameters

regex

The regular expression to match against.